package com.winit.commons.wsAgent.bean;


/**
 * Created by wangjian on 2017/11/14.
 */
public class AgentMenuUpdate {
    private String parent_menu_id;
    private String menu_id;
    private boolean is_item = false;
    private String title;
    private Integer index = 0;
    private boolean is_front = true;
    private String workspace = "default";
    private String path;

    public String getParent_menu_id() {
        return parent_menu_id;
    }

    public void setParent_menu_id(String parent_menu_id) {
        if ("-1".equals(parent_menu_id)) {
            parent_menu_id = null;
        }
        this.parent_menu_id = parent_menu_id;
    }

    public String getMenu_id() {
        return menu_id;
    }

    public void setMenu_id(String menu_id) {
        this.menu_id = menu_id;
    }

    public boolean isIs_item() {
        return is_item;
    }

    public void setIs_item(boolean is_item) {
        this.is_item = is_item;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getIndex() {
        return index;
    }

    public void setIndex(Integer index) {
        this.index = index;
    }

    public boolean isIs_front() {
        return is_front;
    }

    public void setIs_front(boolean is_front) {
        this.is_front = is_front;
    }

    public String getWorkspace() {
        return workspace;
    }

    public void setWorkspace(String workspace) {
        this.workspace = workspace;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }
}
